import { createBrowserRouter } from 'react-router-dom'
import Home from '../pages/Home'
import Workbench from '../pages/Workbench'
let router = createBrowserRouter([
    {
        path:'/',
        element:<Home></Home>,
        children:[
            {
                path:'/workbench',
                element:<Workbench></Workbench>       
            }
        ]                   
    }
])

export default router 